package com.chenyongjing.design.pattern.strategy.pay;

/**
 * @Author chen
 * @Date 2022/11/13 22:26
 */
public class Test {
    public static void main(String[] args) {
        Order order = new Order("1","20221113",325.0);
        // 默认支付方式
//        System.out.println(order.pay());
        // 支付账户金额不足
        System.out.println(order.pay(PayStrategy.JD_PAY));
    }
}
